<form id="daoru-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('类别')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="types_id" id="">

                {volist name="lists" id="list"}
                <option value="{$list.id}"> {$list.name}</option>
                {/volist}


            </select>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('上传')}:</label>
        <div class="col-xs-12 col-sm-8" style="display: flex;align-items: center">
            <input id="c-avatar" data-rule="" class="form-control" size="50" name="file" width="200" type="text" value="">
             <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar"
                           data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,xls,xlsx,csv" data-multiple="false" data-preview-id="p-avatar">
                 <i class="fa fa-upload"></i> 上传</button>
             </span>

        </div>

    </div>






    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>
        </div>
    </div>
</form>
